package com.gangquan360.smartadmin.module.customer.domain.dto;

import lombok.Data;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * [ 客户表 ]
 *
 * @author wiggin
 * @version 1.0
 * @company wiggin
 * @copyright (c) 2018 wigginInc. All rights reserved.
 * @date 2019/3/27 0027 下午 12:27
 * @since JDK1.8
 */
@Data
public class CustomerDTO {

	@ApiModelProperty("")
	private Long id;

	@ApiModelProperty("客户名称")
	private String name;

	@ApiModelProperty("简称")
	private String shortName;

	@ApiModelProperty("助记码")
	private String mnemonicCode;

	@ApiModelProperty("电话号")
	private String telephone;

	@ApiModelProperty("邮编")
	private String postcode;

	@ApiModelProperty("分类")
	private Integer category;

	@ApiModelProperty("法人代表")
	private Long legalPersonContactId;

	@ApiModelProperty("业务代表")
	private Long businessAgentContactId;

	@ApiModelProperty("收货人")
	private Long consigneeContactId;

	@ApiModelProperty("省份")
	private Integer province;

	@ApiModelProperty("城市")
	private Integer city;

	@ApiModelProperty("县/区")
	private Integer county;

	@ApiModelProperty("详细地址")
	private String address;

	@ApiModelProperty("标签")
	private String tags;

	@ApiModelProperty("备注")
	private String remark;

	@ApiModelProperty("")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	@ApiModelProperty("")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;
	
	@ApiModelProperty("开票信息id")
	private Long invoiceInfoId;

	@ApiModelProperty("单位名称")
	private String unitName;

	@ApiModelProperty("税号")
	private String taxNumber;

	@ApiModelProperty("开户行")
	private String openingBank;

	@ApiModelProperty("银行账户")
	private String bankAccount;

	@ApiModelProperty("注册地址")
	private String registAddress;

	@ApiModelProperty("办公地址")
	private String officeAddress;

	@ApiModelProperty("开票电话")
	private String invoiceTelephone;

	@ApiModelProperty("传真号")
	private String faxNumber;

}
